package com.gok.seasonmovie.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

import java.util.List;

@Mapper
public interface WeChatMapper {
    @Update({
            "UPDATE User",
            "SET avatar_url = #{avatar_url}, name = #{name}",
            "WHERE token = #{token}"
    })
    void save(String avatar_url,String name,String token);
}
